package io.renren.modules.eightapp.service;

import io.renren.common.service.CrudService;
import io.renren.modules.eightapp.dto.EiRepairDTO;
import io.renren.modules.eightapp.dto.EiRepairInfoDTO;
import io.renren.modules.eightapp.entity.EiRepairInfoEntity;

import java.util.List;


/**
 * 
 *
 * @author Mark 1132115960@gmail.com
 * @since 1.0.0 2022-12-27
 */
public interface EiRepairInfoService extends CrudService<EiRepairInfoEntity, EiRepairInfoDTO> {

    public int updateStateById(Integer id);

    public List<EiRepairInfoDTO> getRepairListByOwnerId(int ownerId);

    public EiRepairInfoDTO getRepairById(int id);

    public int deleteRepairById(int id);

    public int deleteRepairList(List<Integer> ids);

    public Integer getStateListById(List<Integer> ids);

    public List<EiRepairDTO> getRepairList();
}